<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        body {
            background-color: #ebebeb;
        }
        
        .footer {
            position: fixed;
            width: 100%;
            bottom: 0;
            height: 50px;
            background-color: #fff;
        }
        
        html,
        body {
            height: 100%;
        }
        
        .box {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100%;
        }
        
        .main {
            background-color: #fff;
            flex-grow: 1;
        }
        
        .empty {
            height: 70px;
            /* background-color: green; */
        }
    </style>
</head>

<body>


    <div class="box">
        <div class="main">
            <p>sadfasdfasdfasdfasdf</p>
            <p>sadfasdfasdfasdfasdf</p>
            <p>sadfasdfasdfasdfasdf</p>
            <p>sadfasdfasdfasdfasdf</p>
            <p>sadfasdfasdfasdfasdf</p>
            <p>sadfasdfasdfasdfasdf</p>
        </div>

        <div class="empty">

        </div>
    </div>

    <div class="footer">

    </div>
</body>

</html>